package com.caoji.client;

import com.caoji.client.feiginClient;
import com.caoji.entity.User;
import org.springframework.stereotype.Component;

/**
 * @Description： User: caoji
 * Date: 2020/11/27
 * Time: 20:57
 */
@Component
public class UserFeign implements feiginClient {
    @Override
    public User findall(String id) {
        User user=new User();
        user.setName(id);
        user.setNickName("UserFeign");
        return user;
    }
}
